package com.techstar.api.pojo.expressway;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 高速拥堵收费站
 * @date 2021年6月25日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "freeway_congest_station")
@org.hibernate.annotations.Table(appliesTo = "freeway_congest_station",comment="pord-4-高速拥堵收费站")
public class FreewayCongestStation {
	private String eventId;
	@Id
    private String highwayId;
    private String highwayName;
    private String stationId;
    private String stationName;
    private String congestType;
    private String congestIndex;
    private String congestSpeed;
    private String congestKeeptime;
    @JsonDeserialize(using = DateTimeDeserializer.class)
    private DateTime congestStartTime;
    @JsonDeserialize(using = DateTimeDeserializer.class)
    private DateTime congestEndTime;
    private String congestMileage;
    private String congestSourceDesc;
    private String congestTailDesc;
    private String congestSourceLoc;
    private String alarmDesc;
    private String deversionAdvice;
    private String congestChangeStatus;
    private String stationOnOff;
    private String stationInOut;
    @Column(columnDefinition="text COMMENT '拥堵路口标识'")
    private String linkStates1;
    @Column(columnDefinition="text COMMENT '拥堵路口标识'")
    private String linkStates2;
    @Column(columnDefinition="text COMMENT '拥堵路口标识'")
    private String linkStates3;
    @Column(columnDefinition="text COMMENT '拥堵路口标识'")
    private String linkStates4;
    @JsonDeserialize(using = DateTimeDeserializer.class)
    private DateTime createTime;

}
